package com.yx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yx.entity.OrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Classname OrderDetailMapper
 * @Date 2021/07/20 19:06
 * @Author by yx
 * @Description TODO:
 */
public interface OrderDetailMapper extends BaseMapper<OrderDetail> {
    void saveBatchOrderDetail(@Param("odList") List<OrderDetail> orderDetailList, @Param("tableIndex") Integer tableIndex);

    List<OrderDetail> getOrderDetailListByOid(@Param("oid") String oid, @Param("tableIndex") Integer tableIndex);
}
